class CreateArticles < ActiveRecord::Migration
  def self.up
    create_table :articles do |t|
	t.column :articletitle,    :string
	t.column :author,    :string
	t.column :department_id,    :int
	t.column :receiveddate,    :date
	t.column :reviewdate,    :date
	t.column :contributedate,    :date
	t.column :journal,    :string
	t.column :issuenumber,    :string
    end
  end

  def self.down
    drop_table :articles
  end
end
